/* @(#)GSCountryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li     2006-2-11    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 国家信息
 */
public class GSCountryBean implements GSBaseBean {
    /**
     * 国家代码
     */
    private String gs_country_code;
    /**
     * 国家名称
     */
    private String gs_country_name;
    /**
     * 国家英文名称
     */
    private String gs_en_country_name;

    public Object process(ResultSet aResultSet) throws SQLException {
        GSCountryBean tCoutryBean = new GSCountryBean();
        tCoutryBean.gs_country_code = aResultSet.getString("GS_COUNTRY_CODE").trim();
        tCoutryBean.gs_country_name = aResultSet.getString("GS_COUNTRY_NAME").trim();
        tCoutryBean.gs_en_country_name = aResultSet.getString("GS_EN_COUNTRY_NAME") == null ? "" :aResultSet.getString("GS_EN_COUNTRY_NAME").trim();
        return tCoutryBean;
    }

    /**
     * @return Returns the gs_country_code.
     */
    public String getGs_country_code() {
        return this.gs_country_code;
    }

    /**
     * @param aGs_country_code The gs_country_code to set.
     */
    public void setGs_country_code(String aGs_country_code) {
        this.gs_country_code = aGs_country_code;
    }

    /**
     * @return Returns the gs_country_name.
     */
    public String getGs_country_name() {
        return this.gs_country_name;
    }

    /**
     * @param aGs_country_name The gs_country_name to set.
     */
    public void setGs_country_name(String aGs_country_name) {
        this.gs_country_name = aGs_country_name;
    }

    /**
     * @return Returns the gs_en_country_name.
     */
    public String getGs_en_country_name() {
        return this.gs_en_country_name;
    }

    /**
     * @param aGs_en_country_name The gs_en_country_name to set.
     */
    public void setGs_en_country_name(String aGs_en_country_name) {
        this.gs_en_country_name = aGs_en_country_name;
    }

}
